package club.cearnach.api.exception;

/**
 * @author 阮胜
 * @date 2018/5/23 17:07
 */
public class UserException extends Exception {
    public static final String USER_CAN_NOT_FOUNT = "找不到指定的的用户!";
    public static final String USER_ACCOUNT_AND_EMAIL_CAN_NOT_MATCH = "用户账号与邮箱不匹配!";

    public UserException() {

    }

    public UserException(String message) {
        super(message);
    }

    public UserException(String message, Throwable cause) {
        super(message, cause);
    }

    public UserException(Throwable cause) {
        super(cause);
    }

    public UserException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
